package cn.zaichi.edu.excelcommon.entity;

import java.util.List;

/**
 * 导出表头
 */
public class ExportTitleEntity {
    /**
     * 表头名称
     */
    private String titleName;
    /**
     * 表格排序
     */
    private int titleSort;
    /**
     * 下级表头
     */
    private List<ExportTitleEntity> childrens;

    private int rowNum;
    /**
     * 合并行数 默认1
     * 导出操作时不需要传入此字段值，会重新计算合并的列数
     */
    private int regionRow=1;

    /**
     * 合并列数 默认1
     * 导出操作时不需要传入此字段值，会重新计算合并的列数
     */
    private int regionCell=1;

    private ExportTitleEntity parent;

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public int getTitleSort() {
        return titleSort;
    }

    public void setTitleSort(int titleSort) {
        this.titleSort = titleSort;
    }

    public List<ExportTitleEntity> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<ExportTitleEntity> childrens) {
        this.childrens = childrens;
    }

    public int getRegionRow() {
        return regionRow;
    }

    public void setRegionRow(int regionRow) {
        this.regionRow = regionRow;
    }

    public int getRegionCell() {
        return regionCell;
    }

    public void setRegionCell(int regionCell) {
        this.regionCell = regionCell;
    }

    public int getRowNum() {
        return rowNum;
    }

    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }

    public ExportTitleEntity getParent() {
        return parent;
    }

    public void setParent(ExportTitleEntity parent) {
        this.parent = parent;
    }
}
